import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'Login',
      component: () => import('../views/Login.vue'),
    },
    {
      path: '/Menu',
      name: 'Menu',
      component: () => import('../views/MenuDar/Menu.vue'),
      children: [{
        path: '/home',
        name: 'home',
        component: HomeView,
      },
      {
        path: '/about',
        name: 'about',
        component: () => import('../views/AboutView.vue'),
      },
      {
        path: '/myitem',
        name: 'myitem',
        component: () => import('../views/MenuDar/myitem.vue'),
      },
      {
        path: '/Personnellist',
        name: 'Personnellist',
        component: () => import('../views/Personnel/Personnellist.vue'),
      },
      {
        path: '/SettlementAdd',//应收费添加
        name: 'SettlementAdd',
        component: () => import('../views/Settlements/SettlementAdd.vue'),
      },
      {
        path: '/SettlementList',//应收费列表
        name: 'SettlementList',
        component: () => import('../views/Settlements/SettlementList.vue'),
      },
      {
        path: '/SettlementUpdate',//应收费修改
        name: 'SettlementUpdate',
        component: () => import('../views/Settlements/SettlementUpdate.vue'),
        },
       {
        path: '/SettlementCheck',//应收费核对
        name: 'SettlementCheck',
        component: () => import('../views/Settlements/SettlementCheck.vue'),
      },
      {
        path: '/InvoiceAdd',//进项发票添加
        name: 'InvoiceAdd',
        component: () => import('../views/Invoices/InvoiceAdd.vue'),
      },
      {
        path: '/InvoiceList',//进项发票列表
        name: 'InvoiceList',
        component: () => import('../views/Invoices/InvoiceList.vue'),
      },
      {
        path: '/InvoiceUpdate',//进项发票修改
        name: 'InvoiceUpdate',
        component: () => import('../views/Invoices/InvoiceUpdate.vue'),
      },
      {
        path: '/FeesPayableAdd',
        name: 'FeesPayableAdd',
        component: () => import('../views/FeesPayables/FeesPayableAdd.vue'),
      },
      {
        path: '/FeesPayableList',
        name: 'FeesPayableList',
        component: () => import('../views/FeesPayables/FeesPayableList.vue'),
      },
      {
        path: '/FeesPayableUpdset',
        name: 'FeesPayableUpdset',
        component: () => import('../views/FeesPayables/FeesPayableUpdset.vue'),
      },
      {
        path: '/FeesPayableCheck',
        name: 'FeesPayableCheck',
        component: () => import('../views/FeesPayables/FeesPayableCheck.vue'),
      },
      {
        path: '/OutputInvoicesAdd',//销项发票添加
        name: 'OutputInvoicesAdd',
        component: () => import('../views/OutputInvoices/OutputInvoicesAdd.vue'),
      },
      {
        path: '/OutputInvoicesList',//销项发票列表
        name: 'OutputInvoicesList',
        component: () => import('../views/OutputInvoices/OutputInvoicesList.vue'),
      },
      {
        path: '/OutputInvoicesUpdate',//销项发票修改
        name: 'OutputInvoicesUpdate',
        component: () => import('../views/OutputInvoices/OutputInvoicesUpdate.vue'),
      },
      {
        path: '/PaymentManageAdd',//付款管理添加
        name: 'PaymentManageAdd',
        component: () => import('../views/PaymentManages/PaymentManageAdd.vue'),
      },
      {
        path: '/PaymentManageList',//付款管理列表
        name: 'PaymentManageList',
        component: () => import('../views/PaymentManages/PaymentManageList.vue'),
      },
      {
        path: '/PaymentManageUpdate',//付款管理修改
        name: 'PaymentManageUpdate',
        component: () => import('../views/PaymentManages/PaymentManageUpdate.vue'),
      }
        ,
      {
        path: '/PaymentManageUpdates',//付款管理核对
        name: 'PaymentManageUpdates',
        component: () => import('../views/PaymentManages/PaymentManageUpdates.vue'),
      }
        ,
      {
        path: '/PersonnelAdd',
        name: 'PersonnelAdd',
        component: () => import('../views/Personnel/PersonnelAdd.vue'),
      },
      {
        path: '/PersonnelUpdate',
        name: 'PersonnelUpdate',
        component: () => import('../views/Personnel/PersonnelUpdate.vue'),
      },
      {
        path: '/EntryList',
        name: 'EntryList',
        component: () => import('../views/Personnel/EntryList.vue'),
      },
      {
        path: '/EntryAdd',
        name: 'EntryAdd',
        component: () => import('../views/Personnel/EntryAdd.vue'),
      },
      {
        //物资采购 ：添加
        path: '/AddPurchasing',
        name: 'AddPurchasing',
        component: () => import('../views/Material/Purchasing/AddPurchasing.vue'),
      }
        ,
      {
        //物资采购 ：显示
        path: '/PurchasingList',
        name: 'PurchasingList',
        component: () => import('../views/Material/Purchasing/PurchasingList.vue'),
      }
        ,
      {
        //物资采购 ：修改
        path: '/UpdPurchasing',
        name: 'UpdPurchasing',
        component: () => import('../views/Material/Purchasing/UpdPurchasing.vue'),
      }
        ,
      {
        //物资采购 ：详情
        path: '/PurchasingInfo',
        name: 'PurchasingInfo',
        component: () => import('../views/Material/Purchasing/PurchasingInfo.vue'),
      },
      {
        //物资采购 :审批
        path: '/PurchasingApproval',
        name: 'PurchasingApproval',
        component: () => import('../views/Approval审批/Purchasings/PurchasingApproval.vue'),
      },
      {
        //物资采购 :审批查看
        path: '/PurchasingUpdateList',
        name: 'PurchasingUpdateList',
        component: () => import('../views/Approval审批/Purchasings/PurchasingUpdateList.vue'),
      },
      {
        //物资采购 :通过拒绝
        path: '/PurchasingTj',
        name: 'PurchasingTj',
        component: () => import('../views/Approval审批/Purchasings/PurchasingTj.vue'),
      },
      {
        //入库管理 ：添加
        path: '/AddDePutInStorage',
        name: 'AddDePutInStorage',
        component: () => import('../views/Material/DePutInStorage/AddDePutInStorage.vue'),
      }
        ,
      {
        //入库管理 ：显示
        path: '/DePutInStorageList',
        name: 'DePutInStorageList',
        component: () => import('../views/Material/DePutInStorage/DePutInStorageList.vue'),
      }
        ,
      {
        //入库管理 ：修改
        path: '/UpdDePutInStorage',
        name: 'UpdDePutInStorage',
        component: () => import('../views/Material/DePutInStorage/UpdDePutInStorage.vue'),
      }
        ,
      {
        //入库管理 ：详情
        path: '/DePutInStorageInfo',
        name: 'DePutInStorageInfo',
        component: () => import('../views/Material/DePutInStorage/DePutInStorageInfo.vue'),
      },
      {
        path: '/RepairShow',
        name: 'RepairShow',
        component: () => import('../views/Maintenan/Repair/RepairShow.vue'),
      },
      {
        path: '/RepairAdd',
        name: 'RepairAdd',
        component: () => import('../views/Maintenan/Repair/RepairAdd.vue'),
      },
      {
        path: '/UpdateRepait',
        name: 'UpdateRepait',
        component: () => import('../views/Maintenan/Repair/UpdateRepait.vue'),
      },
      {
        path: '/RepairInfo',
        name: 'RepairInfo',
        component: () => import('../views/Maintenan/Repair/RepairInfo.vue'),
      },
      {
        path: '/MaintenanceseShow',
        name: 'MaintenanceseShow',
        component: () => import('../views/Maintenan/Maintenancese/MaintenanceseShow.vue'),
      },
      {
        path: '/MaintenanceseAdd',
        name: 'MaintenanceseAdd',
        component: () => import('../views/Maintenan/Maintenancese/MaintenanceseAdd.vue'),
      },
      {
        path: '/MaintenanceseUpdate',
        name: 'MaintenanceseUpdate',
        component: () => import('../views/Maintenan/Maintenancese/MaintenanceseUpdate.vue'),
      },
      {
        path: '/MaintenanceseInfo',
        name: 'MaintenanceseInfo',
        component: () => import('../views/Maintenan/Maintenancese/MaintenanceseInfo.vue'),
      },
      {
        path: '/IllegalShow',
        name: 'IllegalShow',
        component: () => import('../views/Maintenan/Illegal/IllegalShow.vue'),
      },
      {
        path: '/IllegalAdd',
        name: 'IllegalAdd',
        component: () => import('../views/Maintenan/Illegal/IllegalAdd.vue'),
      },
      {
        path: '/IllegalInfo',
        name: 'IllegalInfo',
        component: () => import('../views/Maintenan/Illegal/IllegalInfo.vue'),
      },
      {
        path: '/IllegalUpdate',
        name: 'IllegalUpdate',
        component: () => import('../views/Maintenan/Illegal/IllegalUpdate.vue'),
      },
      {
        path: '/AccidentShow',
        name: 'AccidentShow',
        component: () => import('../views/Maintenan/Accident/AccidentShow.vue'),
      },
      {
        path: '/AccidentAdd',
        name: 'AccidentAdd',
        component: () => import('../views/Maintenan/Accident/AccidentAdd.vue'),
      },
      {
        path: '/AccidentUpdate',
        name: 'AccidentUpdate',
        component: () => import('../views/Maintenan/Accident/AccidentUpdate.vue'),
      },
      {
        path: '/AccidentInfo',
        name: 'AccidentInfo',
        component: () => import('../views/Maintenan/Accident/AccidentInfo.vue'),
      },
      {
        path: '/TyreShwo',
        name: 'TyreShwo',
        component: () => import('../views/Maintenan/Tyre/TyreShwo.vue'),
      },
      {
        path: '/TyreAdd',
        name: 'TyreAdd',
        component: () => import('../views/Maintenan/Tyre/TyreAdd.vue'),
      },
      {
        path: '/TyreUpdate',
        name: 'TyreUpdate',
        component: () => import('../views/Maintenan/Tyre/TyreUpdate.vue'),
      },
      {
        path: '/TyreInfo',
        name: 'TyreInfo',
        component: () => import('../views/Maintenan/Tyre/TyreInfo.vue'),
      },
      {
        path: '/ExpensesShow',
        name: 'ExpensesShow',
        component: () => import('../views/Maintenan/Expenses/ExpensesShow.vue'),
      },
      {
        path: '/ExpensesAdd',
        name: 'ExpensesAdd',
        component: () => import('../views/Maintenan/Expenses/ExpensesAdd.vue'),
      },
      {
        path: '/ExpensesUpdate',
        name: 'ExpensesUpdate',
        component: () => import('../views/Maintenan/Expenses/ExpensesUpdate.vue'),
      },
      //基础：线路显示
      {
        path: '/FoundationShow',
        name: 'FoundationShow',
        component: () => import('../views/Foundation/FoundationShow.vue'),
      },
      //基础：线路添加
      {
        path: '/FoundationAdd',
        name: 'FoundationAdd',
        component: () => import('../views/Foundation/FoundationAdd.vue'),
      },
      //基础：线路修改
      {
        path: '/FoundationUpdate',
        name: 'FoundationUpdate',
        component: () => import('../views/Foundation/FoundationUpdate.vue'),
      },
      //基础：线路反填
      {
        path: '/FoundationFanTian',
        name: 'FoundationFanTian',
        component: () => import('../views/Foundation/FoundationFanTian.vue'),
      },
      //基础：货主显示
      {
        path: '/OwnerFoundationShow',
        name: 'OwnerFoundationShow',
        component: () => import('../views/Foundation/OwnerFoundationShow.vue'),
      },
      //基础：货主添加
      {
        path: '/OwnerFoundationAdd',
        name: 'OwnerFoundationAdd',
        component: () => import('../views/Foundation/OwnerFoundationAdd.vue'),
      },
      //基础：货主修改
      {
        path: '/OwnerFoundationUpdate',
        name: 'OwnerFoundationUpdate',
        component: () => import('../views/Foundation/OwnerFoundationUpdate.vue'),
      },
      //基础：货主反填
      {
        path: '/OwnerFoundationFanTian',
        name: 'OwnerFoundationFanTian',
        component: () => import('../views/Foundation/OwnerFoundationFanTian.vue'),
      },
      //基础：车辆显示
      {
        path: '/VehicleShow',
        name: 'VehicleShow',
        component: () => import('../views/Foundation/VehicleShow.vue'),
      },
      //基础：车辆添加
      {
        path: '/VehicleAdd',
        name: 'VehicleAdd',
        component: () => import('../views/Foundation/VehicleAdd.vue'),
      },
      //基础：车辆修改
      {
        path: '/VehicleUpdate',
        name: 'VehicleUpdate',
        component: () => import('../views/Foundation/VehicleUpdate.vue'),
      },
      //基础：车辆反填
      {
        path: '/VehicleFanTian',
        name: 'VehicleFanTian',
        component: () => import('../views/Foundation/VehicleFanTian.vue'),
      },
      //基础：外协显示
      {
        path: '/OutSourcingShow',
        name: 'OutSourcingShow',
        component: () => import('../views/Foundation/OutSourcingShow.vue'),
      },
      //基础：外协添加
      {
        path: '/OutSourcingAdd',
        name: 'OutSourcingAdd',
        component: () => import('../views/Foundation/OutSourcingAdd.vue'),
      },
      ///基础：外协修改
      {
        path: '/OutSourcingUpdate',
        name: 'OutSourcingUpdate',
        component: () => import('../views/Foundation/OutSourcingUpdate.vue'),
      },
      ///基础：外协反填
      {
        path: '/OutSourcingFanTian',
        name: 'OutSourcingFanTian',
        component: () => import('../views/Foundation/OutSourcingFanTian.vue'),
      },
      //基础：油费显示
      {
        path: '/FuelcostsShow',
        name: 'FuelcostsShow',
        component: () => import('../views/Foundation/FuelcostsShow.vue'),
      },
      //基础：油费添加
      {
        path: '/FuelcostsAdd',
        name: 'FuelcostsAdd',
        component: () => import('../views/Foundation/FuelcostsAdd.vue'),
      },
      //基础：油费修改
      {
        path: '/FuelcostsUpdate',
        name: 'FuelcostsUpdate',
        component: () => import('../views/Foundation/FuelcostsUpdate.vue'),
      },
      //基础：油费反填
      {
        path: '/FuelcostsFanTian',
        name: 'FuelcostsFanTian',
        component: () => import('../views/Foundation/FuelcostsFanTian.vue'),
      },//通用添加
      {
        path: '/FoundationShow',
        name: 'FoundationShow',
        component: () => import('../views/Foundation/FoundationShow.vue'),
      },
      {
        path: '/FoundationAdd',
        name: 'FoundationAdd',
        component: () => import('../views/Foundation/FoundationAdd.vue'),
      },
      {
        path: '/FoundationUpdate',
        name: 'FoundationUpdate',
        component: () => import('../views/Foundation/FoundationUpdate.vue'),
      },
      {
        path: '/FoundationFanTian',
        name: 'FoundationFanTian',
        component: () => import('../views/Foundation/FoundationFanTian.vue'),
      },
      {
        path: '/VehicleShow',
        name: 'VehicleShow',
        component: () => import('../views/Foundation/VehicleShow.vue'),
      },
      {
        path: '/VehicleAdd',
        name: 'VehicleAdd',
        component: () => import('../views/Foundation/VehicleAdd.vue'),
      },
      {
        path: '/VehicleUpdate',
        name: 'VehicleUpdate',
        component: () => import('../views/Foundation/VehicleUpdate.vue'),
      },
      {
        path: '/VehicleFanTian',
        name: 'VehicleFanTian',
        component: () => import('../views/Foundation/VehicleFanTian.vue'),
      },
      {
        path: '/VehicleFanTian',
        name: 'VehicleFanTian',
        component: () => import('../views/Foundation/VehicleFanTian.vue'),
      },
      {
        path: '/OutSourcingShow',
        name: 'OutSourcingShow',
        component: () => import('../views/Foundation/OutSourcingShow.vue'),
      },
      {
        path: '/OutSourcingAdd',
        name: 'OutSourcingAdd',
        component: () => import('../views/Foundation/OutSourcingAdd.vue'),
      },
      {
        path: '/OutSourcingUpdate',
        name: 'OutSourcingUpdate',
        component: () => import('../views/Foundation/OutSourcingUpdate.vue'),
      },
      {
        path: '/OutSourcingFanTian',
        name: 'OutSourcingFanTian',
        component: () => import('../views/Foundation/OutSourcingFanTian.vue'),
      },
      {
        path: '/FuelcostsShow',
        name: 'FuelcostsShow',
        component: () => import('../views/Foundation/FuelcostsShow.vue'),
      },//通用添加
      {
        path: '/ExpensesInfo',
        name: 'ExpensesInfo',
        component: () => import('../views/Maintenan/Expenses/ExpensesInfo.vue'),
      },
      {
        path: '/FoundationShow',
        name: 'FoundationShow',
        component: () => import('../views/Foundation/FoundationShow.vue'),
      },
      {
        path: '/FoundationAdd',
        name: 'FoundationAdd',
        component: () => import('../views/Foundation/FoundationAdd.vue'),
      },
      {
        path: '/FoundationUpdate',
        name: 'FoundationUpdate',
        component: () => import('../views/Foundation/FoundationUpdate.vue'),
      },
      {
        path: '/FoundationFanTian',
        name: 'FoundationFanTian',
        component: () => import('../views/Foundation/FoundationFanTian.vue'),
      },
      {
        path: '/OwnerShow',
        name: 'OwnerShow',
        component: () => import('../views/Foundation/OwnerFoundationShow.vue'),
      },
      {
        path: '/OwnerAdd',
        name: 'OwnerAdd',
        component: () => import('../views/Foundation/OwnerFoundationAdd.vue'),
      },
      {
        path: '/OwnerUpdate',
        name: 'OwnerUpdate',
        component: () => import('../views/Foundation/OwnerFoundationUpdate.vue'),
      },
      {
        path: '/OwnerFanTian',
        name: 'OwnerFanTian',
        component: () => import('../views/Foundation/OwnerFoundationFanTian.vue'),
      },
      {
        path: '/VehicleShow',
        name: 'VehicleShow',
        component: () => import('../views/Foundation/VehicleShow.vue'),
      },
      {
        path: '/VehicleAdd',
        name: 'VehicleAdd',
        component: () => import('../views/Foundation/VehicleAdd.vue'),
      },
      {
        path: '/VehicleUpdate',
        name: 'VehicleUpdate',
        component: () => import('../views/Foundation/VehicleUpdate.vue'),
      },
      {
        path: '/VehicleFanTian',
        name: 'VehicleFanTian',
        component: () => import('../views/Foundation/VehicleFanTian.vue'),
      },
      {
        path: '/VehicleFanTian',
        name: 'VehicleFanTian',
        component: () => import('../views/Foundation/VehicleFanTian.vue'),
      },
      {
        path: '/OutSourcingShow',
        name: 'OutSourcingShow',
        component: () => import('../views/Foundation/OutSourcingShow.vue'),
      },
      {
        path: '/OutSourcingAdd',
        name: 'OutSourcingAdd',
        component: () => import('../views/Foundation/OutSourcingAdd.vue'),
      },
      {
        path: '/OutSourcingUpdate',
        name: 'OutSourcingUpdate',
        component: () => import('../views/Foundation/OutSourcingUpdate.vue'),
      },
      {
        path: '/OutSourcingFanTian',
        name: 'OutSourcingFanTian',
        component: () => import('../views/Foundation/OutSourcingFanTian.vue'),
      },
      {
        path: '/FuelcostsShow',
        name: 'FuelcostsShow',
        component: () => import('../views/Foundation/FuelcostsShow.vue'),
      },//通用添加
      {
        path: '/OpponentAdd',
        name: 'OpponentAdd',
        component: () => import('../views/Contract/OpponentAdd.vue'),
      },//通用列表
      {
        path: '/OpponentList',
        name: 'OpponentList',
        component: () => import('../views/Contract/OpponentList.vue'),
      },//通用修改
      {
        path: '/OpponentUpda',
        name: 'OpponentUpda',
        component: () => import('../views/Contract/OpponentUpda.vue'),
      },
      //货主合同
      {
        path: '/OwnerAdd',
        name: 'OwnerAdd',
        component: () => import('../views/Contract/OwnerAdd.vue'),
      },//货主列表
      {
        path: '/OwnerList',
        name: 'OwnerList',
        component: () => import('../views/Contract/OwnerList.vue'),
      },//货主修改
      {
        path: '/OwnerUpdate',
        name: 'OwnerUpdate',
        component: () => import('../views/Contract/OwnerUpdate.vue'),
      },
      //承运添加
      {
        path: '/CarrierAdd',
        name: 'CarrierAdd',
        component: () => import('../views/Contract/CarrierAdd.vue'),
      },//承运列表
      {
        path: '/CarrierList',
        name: 'CarrierList',
        component: () => import('../views/Contract/CarrierList.vue'),
      },
      {
        //物资领用 ：添加
        path: '/AddReceive',
        name: 'AddReceive',
        component: () => import('../views/Material/Receive/AddReceive.vue'),
      },
      {
        //物资领用 ：显示
        path: '/ReceiveList',
        name: 'ReceiveList',
        component: () => import('../views/Material/Receive/ReceiveList.vue'),
      },
      {
        //物资领用 ：修改
        path: '/UPDReceive',
        name: 'UPDReceive',
        component: () => import('../views/Material/Receive/UPDReceive.vue'),
      },
      {
        //物资领用 ：详情
        path: '/ReceiveInfo',
        name: 'ReceiveInfo',
        component: () => import('../views/Material/Receive/ReceiveInfo.vue'),
      }, {
        //物资统计 ：显示
        path: '/StatisticsList',
        name: 'StatisticsList',
        component: () => import('../views/Material/Statistics/StatisticsList.vue'),
      },
      {
        path: '/EntryUpdate',
        name: 'EntryUpdate',
        component: () => import('../views/Personnel/EntryUpdate.vue'),
      },
      {
        path: '/RegularizationList',
        name: 'RegularizationList',
        component: () => import('../views/Personnel/RegularizationList.vue'),
      },
      {
        path: '/RegularizationAdd',
        name: 'RegularizationAdd',
        component: () => import('../views/Personnel/RegularizationAdd.vue'),
      },
      {
        path: '/RegularizationUpdate',
        name: 'RegularizationUpdate',
        component: () => import('../views/Personnel/RegularizationUpdate.vue'),
      },
      {
        path: '/ResignList',
        name: 'ResignList',
        component: () => import('../views/Personnel/ResignList.vue'),
      },
      {
        path: '/ResignAdd',
        name: 'ResignAdd',
        component: () => import('../views/Personnel/ResignAdd.vue'),
      },
      {
        path: '/FuelcostsAdd',
        name: 'FuelcostsAdd',
        component: () => import('../views/Foundation/FuelcostsAdd.vue'),
      },
      {
        path: '/FuelcostsUpdate',
        name: 'FuelcostsUpdate',
        component: () => import('../views/Foundation/FuelcostsUpdate.vue'),
      },
      {
        path: '/FuelcostsFanTian',
        name: 'FuelcostsFanTian',
        component: () => import('../views/Foundation/FuelcostsFanTian.vue'),
        },
      {
        path: '/ContractCarriagesList',
        name: 'ContractCarriagesList',
        component: () => import('../views/ContractCarriages/ContractCarriagesList.vue'),
      },
      {
        path: '/ResignUpdate',
        name: 'ResignUpdate',
        component: () => import('../views/Personnel/ResignUpdate.vue'),
      },//承运修改
      {
        path: '/CarrierUpda',
        name: 'CarrierUpda',
        component: () => import('../views/Contract/CarrierUpda.vue'),
      },
      {
        path: '/UserAdd',
        name: 'UserAdd',
        component: () => import('../views/SetUp.vue/UserAdd.vue'),
      },
      {
        path: '/UserList',
        name: 'UserList',
        component: () => import('../views/SetUp.vue/UserList.vue'),
      },
      {
        path: '/UserSelect',
        name: 'UserSelect',
        component: () => import('../views/SetUp.vue/UserSelect.vue'),
      },
      {
        path: '/RoleAdd',
        name: 'RoleAdd',
        component: () => import('../views/SetUp.vue/RoleAdd.vue'),
      },
      {
        path: '/RoleList',
        name: 'RoleList',
        component: () => import('../views/SetUp.vue/RoleList.vue'),
      },
      {
        path: '/MenuAdd',
        name: 'MenuAdd',
        component: () => import('../views/SetUp.vue/MenuAdd.vue'),
      },
      {
        path: '/RoleMenuList',
        name: 'RoleMenuList',
        component: () => import('../views/SetUp.vue/RoleMenuList.vue'),
      },//货主审批
      {
        path: '/OwnerApproval',
        name: 'OwnerApproval',
        component: () => import('../views/Approval审批/Contract/Owner/OwnerApproval.vue'),
      },//承运审批
      {
        path: '/CarrierApproval',
        name: 'CarrierApproval',
        component: () => import('../views/Approval审批/Contract/Carrier/CarrierApproval.vue'),
      },//通用审批
      {
        path: '/OpponentApproval',
        name: 'OpponentApproval',
        component: () => import('../views/Approval审批/Contract/opponent/OpponentApproval.vue'),
      },
      {
        //物资领用 ：添加
        path: '/AddReceive',
        name: 'AddReceive',
        component: () => import('../views/Material/Receive/AddReceive.vue'),
      },
      {
        //物资领用 ：显示
        path: '/ReceiveList',
        name: 'ReceiveList',
        component: () => import('../views/Material/Receive/ReceiveList.vue'),
      }
        ,
      {
        //物资领用 ：修改
        path: '/UPDReceive',
        name: 'UPDReceive',
        component: () => import('../views/Material/Receive/UPDReceive.vue'),
      },
      {
        //物资领用 ：详情
        path: '/ReceiveInfo',
        name: 'ReceiveInfo',
        component: () => import('../views/Material/Receive/ReceiveInfo.vue'),
      },
      {
        //物资领用 :审批显示
        path: '/ReceiveShow',
        name: 'ReceiveShow',
        component: () => import('../views/Approval审批/Receive/ReceiveShow.vue'),
      },
      {
        //物资领用 :审批显示
        path: '/ReceiveTj',
        name: 'ReceiveTj',
        component: () => import('../views/Approval审批/Receive/ReceiveTj.vue'),
      },
      {
        //物资领用 :审批显示
        path: '/ReceiveListUpdate',
        name: 'ReceiveListUpdate',
        component: () => import('../views/Approval审批/Receive/ReceiveListUpdate.vue'),
      },
      {
        //转正:审批显示
        path: '/RegularizationShow',
        name: 'RegularizationShow',
        component: () => import('../views/Approval审批/Regularization/RegularizationShow.vue'),
      },
      {
        //入职 :审批显示
        path: '/EntryShow',
        name: 'EntryShow',
        component: () => import('../views/Approval审批/Entry/EntryShow.vue'),
      },
      {
        //入职 :查询待审批
        path: '/EntryUpdateApp',
        name: 'EntryUpdateApp',
        component: () => import('../views/Approval审批/Entry/EntryUpdateApp.vue'),
      },
      {
        //入职 :通过或拒绝
        path: '/EntryTj',
        name: 'EntryTj',
        component: () => import('../views/Approval审批/Entry/EntryTj.vue'),
      },
      {
        //转正 :通过或拒绝
        path: '/RegularizationUpdateApp',
        name: 'RegularizationUpdateApp',
        component: () => import('../views/Approval审批/Regularization/RegularizationUpdateApp.vue'),
      },
      {
        //转正 :通过或拒绝
        path: '/RegularizationTj',
        name: 'RegularizationTj',
        component: () => import('../views/Approval审批/Regularization/RegularizationTj.vue'),
      },
      {//跟踪：货主合同跟踪显示
        path: '/OwnerContractTraceShow',
        name: 'OwnerContractTraceShow',
        component: () => import('../views/Trace/OwnerContractTraceShow.vue'),
      }, {
        path: '/ContractOfCarriageTracking',//在线跟踪
        name: 'ContractOfCarriageTracking',
        component: () => import('../views/Trace/MapTracking/ContractOfCarriageTracking.vue'),
      }, {
        path: '/DefinedRoute',//定义路线
        name: 'DefinedRoute',
        component: () => import('../views/Trace/MapTracking/DefinedRoute.vue'),
      }, {
        path: '/TrackRecord',//跟踪记录
        name: 'TrackRecord',
        component: () => import('../views/Trace/MapTracking/TrackRecord.vue'),
      },
        {
          path: '/OwnerContractTraceShow',
          name: 'OwnerContractTraceShow',
          component: () => import('../views/Trace/OwnerContractTraceShow.vue'),
        },
        {
          path: '/PersonnelKanban',
          name: 'PersonnelKanban',
          component: () => import('../views/Personnel/PersonnelKanban.vue'),
        },
        {
          //货主审批：查看审批
          path:'/OwnerView',
          name:'OwnerView',
          component:()=>import('../views/Approval审批/Contract/Owner/OwnerView.vue')
        },
        {
          //货主审批：查看(通过或拒绝)审批
          path:'/OwnerPassView',
          name:'OwnerPassView',
          component:()=>import('../views/Approval审批/Contract/Owner/OwnerPassView.vue')
        },
        {
          //通用审批：查看审批
          path:'/OpponentView',
          name:'OpponentView',
          component:()=>import('../views/Approval审批/Contract/opponent/OpponentView.vue')
        },
        {
          //通用审批：查看(通过或拒绝)审批
          path:'/OpponentPassView',
          name:'OpponentPassView',
          component:()=> import('../views/Approval审批/Contract/opponent/OpponentPassView.vue')
        },
        {
          //离职审批
          path:'/DimissionList',
          name:'DimissionList',
          component:()=> import('../views/Approval审批/Dimission离/DimissionList.vue')
        },
        {
          //离职审批：查看(待审批)
          path:'/DimissionView',
          name:'DimissionView',
          component:()=> import('../views/Approval审批/Dimission离/DimissionView.vue')
        },
        {
          //离职审批：查看(通过或拒绝)审批
          path:'/DimissionPassView',
          name:'DimissionPassView',
          component:()=> import('../views/Approval审批/Dimission离/DimissionPassView.vue')
        },
        {
          //付款审批
          path: '/PaymentApprovalsShow',
          name: 'PaymentApprovalsShow',
          component: () => import('../views/Approval审批/PaymentApprovals/PaymentApprovalsShow.vue')
        },
        {
          //付款审批
          path: '/PaymentApprovalsZhuanPi',
          name: 'PaymentApprovalsZhuanPi',
          component: () => import('../views/Approval审批/PaymentApprovals/PaymentApprovalsZhuanPi.vue')
        }
        ,
        {
          //付款审批
          path: '/PaymentApprovalsShenPiGuo',
          name: 'PaymentApprovalsShenPiGuo',
          component: () => import('../views/Approval审批/PaymentApprovals/PaymentApprovalsShenPiGuo.vue')
        },
        {
          path: '/EntryXiang',
          name: 'EntryXiang',
          component: () => import('../views/Personnel/EntryXiang.vue')
        },
        {
          path: '/RegularizationXiang',
          name: 'RegularizationXiang',
          component: () => import('../views/Personnel/RegularizationXiang.vue')
        },
        {
          path: '/ResignXiang',
          name: 'ResignXiang',
          component: () => import('../views/Personnel/ResignXiang.vue')
        },
      ]
    },
  ],
})

export default router

